* {
    margin: 0;
    padding: 0;
}

body {
    padding-bottom: 30px;
    font-family: segoe ui, arial, helvetica, sans-serif;
    font-size:1.4em;
    color: #444444;
    background: #e7e7e7;
}

h1 {
    padding: 15px 0 0 30px;
    font-size: 38px;
    color: #FFFFFF;
}

h1 a, h1 a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

p {
    padding: 10px 0;
    line-height: 1.8em;
    text-align: justify;
}

p#subtitle {
    padding: 0 0 0 30px;
    font-style: italic;
    font-size: 1.4em;
    text-transform: lowercase;
    color: #FFFFFF;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
	color:#454545;
}

/* header */

#header {
    position: relative;
    width: 100%;
    height: 80px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    background: -webkit-linear-gradient(top, #ffffff 3%, #5a565a 30%, #b6b4b6 80%);/*chrome*/
	background: -moz-linear-gradient(top, #ffffff 3%, #5a565a 30%, #b6b4b6 80%);/*FF3*/
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#5a565a');/*IE*/
}

#logo {
	position:absolute;
	margin:15px;
    width: auto;
    height: 50px;
    border: none;
}

/* menu */

#menu {
    padding: 5px 5px 0 0;
    height: 60px;
}

#menu ul {
    float: right;
    list-style: none;
}

#menu ul li {
	font-weight:bold;
    display: block;
    float: left;
    color: #000;
}

#menu ul li a {
    padding: 0 10px;
    color: #000;
	font-weight:bold;
    text-decoration: none;
}

#menu ul li a:hover{
	color:#454545;
}

/* search form */

#search {
    position: absolute;
    top: 130px;
    left: 630px;
    width: 300px;
}

#search input.text {
    float: left;
    display: block;
    padding: 6px 5px;
    width: 198px;
    font: 14px Arial, Helvetica, sans-serif;
    color: #B5D0E1;
    background: #4D8EB4 url('images/searchtxt.jpg') no-repeat;
    border: 1px solid #5B94B6;
}

#search input.submit {
    float: right;
    display: block;
    width: 78px;
    height: 30px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #7B9FB6;
    background: #114C76 url('images/submit.jpg') no-repeat;
    border: 1px solid #2A759F;
    cursor: pointer;
}

/* main */

#main {
    width: 100%;
    min-width: 960px;
    padding: 12px 0;
    background: #e7e7e7;
}

#main2 {
    width: 908px;
    margin: 0 auto;
    padding: 25px 25px 25px 25px;
    border: 1px solid #666666;
	background: -webkit-linear-gradient(top, #c7c7c7 0.7%, #fff 5%, #d9d7d9 80%, #fff 90%);
	background: -moz-linear-gradient(top,  #fff 30%, #b6b4b6 80%);/*FF3*/
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#b6b4b6');/*IE*/
	border-radius: 10px;
}

#mainnav {
    width: 960px;
    margin: 0 auto;
}

/* sidebar */

#sidebar {
    float: left;
    width: 240px;
    padding-bottom: 20px;
}

#sidebar h2 {
    padding-left: 20px;
	border: 1px solid #7c0309;
    /*margin-bottom: 3px;*/
    font-size: 15px;
    font-weight: bold;
    line-height: 38px;
    color: #FFFFFF;
	border-radius: 10px 10px 0 0;
    background: transparent;
	background: -webkit-linear-gradient(top, #9e1f24 50%, #7c0309 1%, #94070d 80%);
	background: -moz-linear-gradient(top,  #9e1f24,  #94070d);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#9e1f24', endColorstr='#7c0309');
}

#sidebar .box 
{
	border: 1px solid #666666;
    padding: 15px 20px 20px 20px;
	background: -webkit-linear-gradient(top, #c7c7c7 30%, #fff 50%, #e1e1e1 100%);
	margin-bottom:20px;
	border-radius: 0 0 10px 10px;
}

#sidebar p {
    text-align: left;
}

#sidebar ul {
    list-style: none;
    padding: 15px 0 24px 0;
}

#sidebar ul li {
    padding: 3px 10px 3px 20px;
    line-height: 1.8em;
    /*border-bottom: 1px solid #E0EBF2;*/
}

#sidebar ul li a {
    padding: 0;
}

/* content */

#content {
    float: right;
    width: 640px; 
    padding-bottom: 5px;
}

#content .post {
    padding: 0 0 45px 0;
}

#content h2 {
    font-size: 2em;
    color: #000;
}

#content h2 a {
    color: #000;
    text-decoration: none;
}

p.postmeta {
    color: #888888;
}

#content .entry {
    padding: 10px 0 0 0;
}

.clearing {
    clear: both;
    height: 1px;
    overflow: hidden;
}

/* footer */

#footer {
    width: 100%;
    height: 70px;
    margin: 0 auto;
    padding-top: 10px;
    background: -webkit-linear-gradient(top, #fff 1%, #b6b4b6 80%, #5a565a 120%);/*chrome*/
	background: -moz-linear-gradient(top, #fff 3%, #b6b4b6 30%, #5a565a 80%);/*FF3*/
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#5a565a');/*IE*/
	border-radius: 0 0 10px 10px;
}

#footer p {
    text-align: center;
    color: #444;
}

#footer a {
    color: #134b84;
}

/*Slideshow*/
.slideshow
{
	margin:10px;
    width:55em;
    height:20em;
    /*padding: 0 2em 0 2.7em;*/
    position:relative;
}
.slideshow img
{
	width:55em;
	height: 19.8em;
	position:absolute;
	border-radius:20px;
    top: 0px;
    left: 12px;
}

/*Top navigation*/

ul#topnav {
	list-style: none;
	float: left;
	font-size: 1.1em;
	padding-bottom:1.2em;
}
ul#topnav li{
	margin: 0;
	padding: 0;
	overflow: hidden;  /*--Important - Masking out the hover state by default--*/
	float: left;
	height:40px;
	position:inherit;
}
ul#topnav a, ul#topnav span { /*--The <a> and <span> share the same properties since the <span>  will be a duplicate of the <a> tag--*/
	padding: 10px 20px;
	float: left;
	text-decoration: none;
	color: #fff;
	background: url(../images/a_bg.gif) repeat-x;
	text-transform: uppercase;
	clear: both;
	width: 100%;
	height: 20px;
	line-height: 20px; /*--Vertical alignment of text--*/
}
ul#topnav a{ /*--This is basically the hover state of navigation--*/
	color: #555;
	background-position: left bottom;
}
ul#topnav span{ /*--Default state of navigation--*/
	background-position: left top;
}

/*Gridview css*/
.gridview
{
}
.gridview th
{
	padding:5px;
    background-color:Maroon;
	color:White;
	text-align: center;
}
.gridview td
{
	padding:5px;
	text-align:justify;
}

/*Gridview admin*/

.gridviewad
{
}
.gridviewad th
{
    padding:5px;
	background-color:Gray;
	color:White;
	text-align: center;
}
.gridviewad td
{
    padding: 10px;
	text-align:justify;	
}